
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
//-->
</script>


<div class="pageContent">	
	<form method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/add','','')}/callbackType/closeCurrent/navTabId/userList" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="55">
			<div class="unit">
				<label>用户账号：</label>
				<input type="text" class="required" size="30" maxlength="12" name="username" />
			</div>
            <div class="unit">
                <label>用户姓名：</label>
                <input type="text" class="required" size="30" maxlength="4" name="realname" />

            </div>
			<div class="unit">
				<label>初始密码：</label>
				<input type="password" name="password" size="30"   class="required alphanumeric" minlength="5" maxlength="20" "/>
			</div>
			<div class="unit">
				<label>用户状态：</label>
				<select name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">添加</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>	
</div>



